import { lazy } from "react";

const HospitalSet = lazy(() => import("../views/hospitalSet"));
const HospitalList = lazy(() => import("../views/hospitalList"));

const routes = [
  {
    path: "/hospitalSet",
    name: "HospitalSet",
    element: <HospitalSet />,
  },
  {
    path: "/hospitalList",
    name: "HospitalList",
    element: <HospitalList />,
  },
];

export default routes;
